﻿using System.Collections.Generic;
using System.Linq;
using System.Text;
using YAFTS.Contracts.Model;

namespace YAFTS.Core.Model
{
	internal sealed class Word :  StringWrapper, IWord
	{
		public Word(string value):base(value)
		{
			
		}

		string IWord.Value
		{
			get { return Value; }
		}
	}

	internal sealed class File :  StringWrapper, IFile
	{
		public File(string value): base(value)
		{
			
		}
		
		public string Name
		{
			get { return Value; }
		}

		public void Rename(string newPath)
		{
			Value = newPath;
		}
	}
}
